sunxi: Fix watchdog reset function for R40
authorChen-Yu Tsai <[email protected]>
Wed, 30 Nov 2016 08:27:14 +0000 (16:27 +0800)
committerMaxime Ripard <[email protected]>
Thu, 20 Apr 2017 11:30:00 +0000 (13:30 +0200)
commit6c7ae2bfc9f052b89c4a874842a6f44cc2e1f0a9
tree915646f90fc9a745fafaefc84b89fe58953742d9
parent409677ec1706c1374f9ce5e1833ae425dd0a9602
sunxi: Fix watchdog reset function for R40

The watchdog found on the R40 SoC is the older variant found on the A20.
Add the proper "#if defines" to make it work.

Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
arch/arm/include/asm/arch-sunxi/timer.h
arch/arm/include/asm/arch-sunxi/watchdog.h
arch/arm/mach-sunxi/board.c